package com.alibaba.travel.scenic.service;

import com.alibaba.travel.common.utils.R;
import com.alibaba.travel.scenic.dto.SpotCondition;
import com.alibaba.travel.scenic.entity.ScenicSpotEntity;
import com.baomidou.mybatisplus.extension.service.IService;
import com.alibaba.travel.common.utils.PageUtils;

import java.util.Map;

/**
 * 景点信息表
 *
 * @author wherezy
 * @email wherezy@tom.com
 * @date 2023-02-23 15:10:19
 */
public interface ScenicSpotService extends IService<ScenicSpotEntity> {

    /**
     * 根据条件进行分页查询
     * @param params
     * @param spotCondition
     * @return
     */
    R queryPage(Map<String, Object> params, SpotCondition spotCondition);
}

